package com.clms.common;

public enum ResultCode {
    SUCCESS(2000), // final static ResultCode SUCCESS=new ResultCode(2000)
    ERROR(5000); //构造函gg数 静态变1量
    private Integer code;

    ResultCode(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }
}
